Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] Consider Nonzero Exit Codes as Errors #11

Conversation

jfreuden
Copy link
Contributor

The .expect didn't actually do anything to pass along error status to the callers.
I noticed that in some usages of the cli plugin build command, the child entrypoint build script could exit with an error status and yet the runner would still show green. (even a script with an exit 1 would never trigger the context string).

Now the build will properly return and print the error status code, as a bonus it will not waste time on a frontend build if the backend build fails, and it behaves slightly better with ctrl-C

Copy link
Collaborator

@SkyLeite SkyLeite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you!

@SkyLeite SkyLeite merged commit 3a784a2 into SteamDeckHomebrew:main Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants